/*
 * @Author: daidai
 * @Date: 2022-01-12 14:05:56
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-08-07 17:12:07
 * @FilePath: \web-pc\src\pages\big-screen\main.js
 */
import Vue from "vue";
import App from "./App.vue";
import router from './router'
import store from './store'
import dataV from '@jiaminghi/data-view'
import Echart from './components/echart/index.vue'
import ItemWrap from './components/item-wrap/item-wrap.vue'
import Message from './components/message/message.vue'
import Reacquire from './components/reacquire/reacquire.vue'
import Messages from './components/message/message'
import "vue-easytable/libs/theme-default/index.css";
import '@/assets/css/public.scss'
import "@/assets/css/index.scss"
import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import Vant from 'vant';
import 'vant/lib/index.css';

import * as filters from '@/directives/filters'


// import 'ol-ext/dist/ol-ext.min.css';

// require('./mock/mock') //是否使用mock
Vue.config.productionTip = false;

// 全局管理分页条数
Vue.prototype.$NumberOfPages = [10, 20, 40, 60, 80, 100];

// 自定义组件
Vue.component("Echart", Echart)
Vue.component("ItemWrap", ItemWrap)
Vue.component("Message", Message)
Vue.component("Reacquire", Reacquire)
Vue.prototype.$Message = Messages
Vue.use(ElementUI);
Vue.use(dataV)


Vue.use(Vant);



import api from './api/index'
Vue.prototype.$api = api;

import qitiApi from './views/qiti/api/index'
Vue.prototype.$qitiApi = qitiApi

import Bus from './utils/bus'
Vue.prototype.$bus = Bus;

// 图片懒加载
import { Lazyload } from 'vant';
Vue.use(Lazyload);

// 全局数据过滤器
Object.keys(filters).forEach(k => Vue.filter(k, filters[k]));
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");